package cn.blogger.pojo;

import java.io.Serializable;

public class TCategoryBlog implements Serializable {

    private int uid;
    private int categoryUid;
    private int blogUid;

    public TCategoryBlog() {
    }

    public TCategoryBlog(int uid, int categoryUid, int blogUid) {
        this.uid = uid;
        this.categoryUid = categoryUid;
        this.blogUid = blogUid;
    }

    public TCategoryBlog(int categoryUid, int blogUid) {
        this.categoryUid = categoryUid;
        this.blogUid = blogUid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public int getCategoryUid() {
        return categoryUid;
    }

    public void setCategoryUid(int categoryUid) {
        this.categoryUid = categoryUid;
    }

    public int getBlogUid() {
        return blogUid;
    }

    public void setBlogUid(int blogUid) {
        this.blogUid = blogUid;
    }

    @Override
    public String toString() {
        return "TCategoryBlog{" +
                "uid=" + uid +
                ", categoryUid=" + categoryUid +
                ", blogUid=" + blogUid +
                '}';
    }
}
